package com.yunban.project.api.text_check.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.joda.time.LocalDateTime;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author: lijiajun
 * @date: 2025-02-18
 * @version: 1.0
 */
@Data
@Schema(description = "用户纠错字符限制")
public class UserCorrectionCharLimit implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.INPUT)
    private long userId;
    private String name;
    private int totalCharLimit;
    private int usedCharLimit;
    @Version
    private int version;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
}
